How to undo your changes in Git? Git reset
TheCONTRIBUTING.mdfileismodifiedbutonceagainunstaged.Note.It'struethatgitresetcanbeadangerouscommand,especiallyifyouprovidethe ...,2020年11月25日—Ifyoumustundochangesinasharedbranchofasharedrepo,thebesttooltouseisgitrevert.Itrevertsthechangesdone...。參考影片的文章的如下: